Macro Csixringb[9]

This macro is also very similar to \sixring, but it allows all 17 chemically possible combinations of double bonds, including the three quinoid structures that can not be typeset with \sixring or \sixringa.

$\displaystyle \sixringb$QQQQQQ$R7$$R8$9

Arguments 1–6:
These arguments have the same meaning as in \sixring+.
Argument 7:
An argument of ``Q'' causes no action. All other argument values cause an outside double bond to be drawn from ring position 6 and the argument itself to be put at the end of the double bond as substituent formula R7.
Argument 8:
An argument of ``Q'' causes no action. All other argument values cause an outside double bond to be drawn from ring position 3 and the argument itself to be put at the end of the double bond as substituent formula R8.
Argument 9:
An integer number. The number zero causes the circle to be drawn inside the ring. All other integers are interpreted as a combination of ring double bonds according to the bit pattern corresponding to the decimal integer: A bit pattern of 000001 is interpreted as a double bond beginning at ring position 1, a bit pattern of 100000 (integer 32) as a double bond beginning at ring position 6. Thus, argument 9 for the diagram shown above is 9 (001001). No action occurs for argument values that correspond to a combination of double bonds which is chemically not possible, namely any combination with two adjoining double bonds.